home *** CD-ROM | disk | FTP | other *** search
- Path: news.paonline.com!usenet
- From: markd@quantum.net (Mark)
- Newsgroups: comp.lang.c++
- Subject: Re: Visual C 4.0 CBitmapButton Problem - Please Help
- Date: Thu, 01 Feb 1996 13:15:06 GMT
- Organization: Pennsylvania Online [Usenet News Server for Hire]
- Message-ID: <4eqdfm$9iv@news.paonline.com>
- References: <4dkk6e$2n2@nnrp1.news.primenet.com> <30FE9343.1D5F@RPSPO3.AtlantaGA.ATTGIS.COM>
- Reply-To: markd@quantum.net
- NNTP-Posting-Host: sl27.quantum.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- Raman Adlakha <radlakh@RPSPO3.AtlantaGA.ATTGIS.COM> wrote:
-
- <snip>
-
- >I remember running into similar problem when I started coding with
- >MSVC.
- >What I did wrong was that in the
-
- >Resource Editor/Bitmap Properties/ID: I entered REDBUTTONU etc
- >without double quotes around it. As a result RC editor's symbol
- >management made #define entries in resource.h Which was the cause
- >of all the problems.
-
- >So if you have done same mistake you will observe that coming
- >up with entirely new names for button caption will work!
-
- >So look in resource.h and remove the #define(s) for REDBUTTONU etc.
-
- >If it works then remember that one way to learn is from others'
- >mistakes!
-
- >bye
- >A. Raman
-
-
- I had this very problem, and it wasn't until I gave up and posted a
- new article that I went back and read this post.
-
- My problem was a failing LoadBitmaps for a CBitmapButton (way down the
- function chain in FindResource). The source of the problem was the
- same - I had created the bitmaps without double quotes and they ended
- up in resource.h. argh... Nothing like fighting the same battle.
-
-